*{
  margin: 0;
  padding: 0;
}

.chat{
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  .title{
    height: 50px;
    flex-shrink: 0;
    text-align: center;
    line-height: 50px;
    border-bottom: 1px solid #ccc;
  }
  .chat-list{
    flex:1;
    padding:10px;
    .chat-list-left{
      display: flex;
      
      .img{
       margin-right:10px;
       img{
        width: 50px;
        height: 50px;
        border-radius: 10px;
       }

      }
      .content{
        .text{
          background: green;
          color: white;
          border-radius: 10px;
        }
      }
    }

    .chat-list-right{
      display: flex;
       flex-direction: row-reverse;
      .img{
       margin-left:10px;
       img{
        width: 50px;
        height: 50px;
        border-radius: 10px;
       }

      }
      .content{
        .text{
          background: green;
          color: white;
          border-radius: 10px;
        }
      }
    }
  }
  .opration{
    height: 50px;
    flex-shrink: 0;
    display: flex;
    border-top: 1px solid #ccc;
    input{
      border: 0;
      flex: 1;
    }
    button{
      border: 0;
      width: 50px;
    }
  }
}